package net.xdclass.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

@ConfigurationProperties(prefix = "aliyun.oss")
@Configuration
@Data
public class OSSConfig {
    /**
     * spring注入方式  和配置文件名字一样  区分大小写
     */
    private String endpoint;
    private String accessKeyId;
    private String accessKeySecret;
    private String bucketname;
}
